package com.lyl.servicestatistics.cloudclient;

import com.lyl.commonutils.R;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 服务熔断
 */
@Component
public class OrderDegradeFeignClient implements OrderClient {


    @Override
    public R getOrderCountByDay(String date) {
        return R.error().message("正在统计中").data("count",0);
    }
}